# 评论相关对象
from selenium.webdriver.common.by import By

class CommentPage():

    # 评价
    comment = (By.CLASS_NAME,"inspect")

    # 评价收货商品
    comment_order = (By.XPATH,"//a[@href='/index.php/Home/Order/comment_list/order_id/1536/rec_id/1800.html']")

    # 商品描述相符
    order_description = (By.CSS_SELECTOR,"title='gorgeous'")  # 返回列表，选择[0]

    # 客服服务质量
    costumer_order = (By.CSS_SELECTOR,"title='gorgeous'")  # 返回列表，选择[1]

    # 物流服务质量
    logistics_order = (By.CSS_SELECTOR,"title='gorgeous'")  # 返回列表，选择[2]

    # 评价内容
    comment_text = (By.CLASS_NAME,"f-textarea")

    # 提交
    submit = (By.CLASS_NAME,"btn-submit")
